\hypertarget{classstdalloc}{}\section{stdalloc Class Reference}
\label{classstdalloc}\index{stdalloc@{stdalloc}}
Inheritance diagram for stdalloc\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classstdalloc}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classstdalloc_a5dcbbfb5f2d7b04138c5f74e6c561ffa}{stdalloc} (\hyperlink{class_map}{Map} \&map, volatile bool \&\hyperlink{class_allocate_a4d10076b88ab1297c89b8a05e117b510}{exit\+\_\+alloc})
\item 
virtual \hyperlink{classstdalloc_a46d60193ee113f34caf4ddf4385c9f0d}{$\sim$stdalloc} ()
\item 
virtual void \hyperlink{classstdalloc_a60438b15948ce354b52b03ba6d975de0}{run} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classstdalloc_a5dcbbfb5f2d7b04138c5f74e6c561ffa}{}\index{stdalloc@{stdalloc}!stdalloc@{stdalloc}}
\index{stdalloc@{stdalloc}!stdalloc@{stdalloc}}
\subsubsection[{stdalloc(\+Map \&map, volatile bool \&exit\+\_\+alloc)}]{\setlength{\rightskip}{0pt plus 5cm}stdalloc\+::stdalloc (
\begin{DoxyParamCaption}
\item[{{\bf Map} \&}]{map, }
\item[{volatile bool \&}]{exit\+\_\+alloc}
\end{DoxyParamCaption}
)}\label{classstdalloc_a5dcbbfb5f2d7b04138c5f74e6c561ffa}
stdalloc -\/ default constructor, calls base allocate constructor of Allcoate which sets the map object. After setting this object loose in a thread, the not\+Ready() function must be called so that the queue sees fully allocated buffers as opposed ot null objects. 
\begin{DoxyParams}{Parameters}
{\em map} & -\/ \hyperlink{class_map}{Map}\&, map with full application \\
\hline
{\em exit\+\_\+alloc} & -\/ bool whose value is set by the map object owning this one. Controls when the loop within the run thread is exited.\\
\hline
\end{DoxyParams}
stdalloc.\+cpp -\/ simple allocation, just initializes the F\+I\+F\+O with a fixed size buffer (512 items) with an alignment of 16-\/bytes. This can easily be changed by changing the constants below.

\begin{DoxyAuthor}{Author}
\+: Jonathan Beard 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
\+: Sat Sep 20 19\+:56\+:49 2014
\end{DoxyVersion}
Copyright 2014 Jonathan Beard

Licensed under the Apache License, Version 2.\+0 (the \char`\"{}\+License\char`\"{}); you may not use this file except in compliance with the License. You may obtain a copy of the License at\+:

\href{http://www.apache.org/licenses/LICENSE-2.0}{\tt http\+://www.\+apache.\+org/licenses/\+L\+I\+C\+E\+N\+S\+E-\/2.\+0}

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \char`\"{}\+A\+S I\+S\char`\"{} B\+A\+S\+I\+S, W\+I\+T\+H\+O\+U\+T W\+A\+R\+R\+A\+N\+T\+I\+E\+S O\+R C\+O\+N\+D\+I\+T\+I\+O\+N\+S O\+F A\+N\+Y K\+I\+N\+D, either express or implied. See the License for the specific language governing permissions and limitations under the License. \hypertarget{classstdalloc_a46d60193ee113f34caf4ddf4385c9f0d}{}\index{stdalloc@{stdalloc}!````~stdalloc@{$\sim$stdalloc}}
\index{````~stdalloc@{$\sim$stdalloc}!stdalloc@{stdalloc}}
\subsubsection[{$\sim$stdalloc()}]{\setlength{\rightskip}{0pt plus 5cm}stdalloc\+::$\sim$stdalloc (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classstdalloc_a46d60193ee113f34caf4ddf4385c9f0d}
destructor, doesn\textquotesingle{}t really do much at he moment. 

\subsection{Member Function Documentation}
\hypertarget{classstdalloc_a60438b15948ce354b52b03ba6d975de0}{}\index{stdalloc@{stdalloc}!run@{run}}
\index{run@{run}!stdalloc@{stdalloc}}
\subsubsection[{run()}]{\setlength{\rightskip}{0pt plus 5cm}void stdalloc\+::run (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classstdalloc_a60438b15948ce354b52b03ba6d975de0}
run -\/ call within a thread, internally we could have a loop before exiting but this version simply allocates and exits. assume everyone needs a heap for the moment to get working

check and see if a has a defined allocation

check for pre-\/existing alloc size for test purposes

size

align 

Implements \hyperlink{class_allocate_a44f9b51c382fec159233609e21b9d272}{Allocate}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
stdalloc.\+hpp\item 
stdalloc.\+cpp\end{DoxyCompactItemize}
